home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20021006-20030409 / 000350_hitt@panix.com_Sun Mar 2 15:35:43 EST 2003.msg < prev    next >
Text File  |  2020-01-01  |  3KB  |  90 lines

  1. Article: 14147 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!panix!panix2.panix.com!not-for-mail
  3. From: hitt@panix.com (Dan Hitt)
  4. Newsgroups: comp.protocols.kermit.misc
  5. Subject: Re: kermit on *86 openstep 4.2 problem no such device
  6. Date: 2 Mar 2003 15:13:48 -0500
  7. Organization: PANIX -- Public Access Networks Corp.
  8. Lines: 73
  9. Message-ID: <b3tols$sf5$1@panix2.panix.com>
  10. References: <b3tg6a$qrv$1@panix2.panix.com> <b3tjrv$q46$1@watsol.cc.columbia.edu>
  11. NNTP-Posting-Host: panix2.panix.com
  12. X-Trace: reader2.panix.com 1046636028 13989 166.84.1.2 (2 Mar 2003 20:13:48 GMT)
  13. X-Complaints-To: abuse@panix.com
  14. NNTP-Posting-Date: Sun, 2 Mar 2003 20:13:48 +0000 (UTC)
  15. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14147
  16.  
  17. Hi Frank,
  18.  
  19. Thanks for your very speedy response, which i've quoted in its
  20. entirety below, because i don't know what i could cut without losing
  21. context.  Thanks for the references, which i've just read.
  22.  
  23. I thought about the permission issues, so i changed the permissions
  24. for all the devices i tried:
  25.    > ls -l /dev/cua /dev/cub /dev/ttya /dev/ttyb
  26.    crw-rw-rw-  1 uucp      11,192 Apr 17  1997 /dev/cua
  27.    crw-rw-rw-  1 uucp      11,193 Apr 17  1997 /dev/cub
  28.    crw-rw-rw-  1 root      11,  0 Apr 17  1997 /dev/ttya
  29.    crw-rw-rw-  1 root      11,  1 Apr 17  1997 /dev/ttyb
  30.  
  31. Now, in order to follow your suggestion of figuring out which device
  32. it is, i wrote a little c program which opens devices if possible and
  33. prints out the error code and message when it's not possible.  It
  34. typically gives either error 13 (`Permission denied') or error 19 (`No
  35. such device') [or else it opens successfully].
  36.  
  37. For /dev/cua, /dev/cub, /dev/ttya, /dev/ttyb it gives error 19
  38. (`No such device'), and i imagine that's also what kermit is facing.
  39.  
  40. So i suppose that somehow i need to make there be such a device,
  41. but i have no clues how.  In the /dev directory, the command
  42.     ./MAKEDEV cua
  43. returns uneventfully (status 0), but /dev/cua still cannot
  44. be opened (error 19, `No such device').
  45.  
  46. So, i'm all ears for any advice on how to find the right device,
  47. or fix up a new one.
  48.  
  49. Thanks again for your response.
  50.  
  51. dan
  52.  
  53.  
  54.  
  55. In article <b3tjrv$q46$1@watsol.cc.columbia.edu>,
  56. Frank da Cruz <fdc@columbia.edu> wrote:
  57. >In article <b3tg6a$qrv$1@panix2.panix.com>, Dan Hitt <hitt@panix.com> wrote:
  58. >: I'm trying to use kermit 8.0.206 for openstep 4.2 on a fairly new *86
  59. >: box (circa year 2000).  It compiles smoothly, but when i try to
  60. >: use it, i get a `No such device' error.
  61. >: 
  62. >: My exact command is
  63. >:    wermit -l /dev/cua -m hayes
  64. >: and the exact error text is
  65. >:    /private/dev/cua: No such device
  66. >:    can't open device
  67. >: with error status 1.
  68. >: 
  69. >What does:
  70. >
  71. >  ls -l /dev/cua
  72. >
  73. >tell you?  Every Unix has a different naming scheme for serial ports; it
  74. >even changes from one release to the next (as in Linux).  Look in /dev
  75. >for names that start with "cu", "tt", etc, and try them until you get one
  76. >that corresponds to your port.  You'll probably need to do this as root,
  77. >since most devices are not world read-writable.
  78. >
  79. >Once you figure out which device it is, read:
  80. >
  81. >  http://www.columbia.edu/kermit/ckuins.html#x10
  82. >
  83. >and:
  84. >
  85. >  http://www.columbia.edu/kermit/ckuins.html#x11
  86. >
  87. >(Sections 10 and 11 of the C-Kermit for Unix installation instructions.)
  88. >
  89. >- Frank
  90.